package com.fresh.feignclient;

import com.fresh.entity.Pay;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

@FeignClient("yingfukuan-service")
public interface YingFuKuanFeignClient {

    @PostMapping("/yingfukuan/add")
    Object add(@RequestBody Pay pay);

}
